Less is More: Leveraging Belady’s Algorithm with Demand-based Learning

نویسندگان

  • Jiajun Wang
  • Lu Zhang
  • Reena Panda
  • Lizy Kurian John
چکیده

The increasing gap between fast data processing speed and long access latency has become the bottleneck of memory intensive workloads. One way to reduce average load to use latency is to minimize cache misses. While cold misses can be eliminated via prefetching schemes, conflict misses cannot be avoided without an efficient replacement policy. Given future cache access sequences, Belady’s algorithm decides whether a data block should get bypassed or cached and leads to the maximum number of cache hits in the most optimal scenario. However, Belady’s algorithm does not distinguish demand accesses such as loads and stores, which may cause pipeline stall due to data dependency, from writeback or prefetch accesses. Maximum number of cache hits does not guarantee highest performance. Therefore, we propose a high performance cache replacement policy which leverages key idea of Belady’s algorithm but focuses on demand accesses that have direct impact on system performance.

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

منابع مشابه

Hawkeye: Leveraging Belady’s Algorithm for Improved Cache Replacement

This paper evaluates the Hawkeye cache replacement policy on the Cache Replacement Championship framework. The solution departs from that of the original paper by distinguishing prefetches from demand fetches, so that redundant prefetches can be identified and cached appropriately. Evaluation on SPEC2006 shows that in the absence of prefetching, Hawkeye provides a speedup of 4.5% over LRU (vs. ...

متن کامل

Rethinking Belady’s Algorithm to Accommodate Prefetching

This paper shows that in the presence of data prefetchers, cache replacement policies are faced with a large unexplored design space. In particular, we observe that while Belady’s MIN algorithm minimizes the total number of cache misses— including those for prefetched lines—it does not minimize the number of demand misses. To address this shortcoming, we introduce Demand-MIN, a variant of Belad...

متن کامل

Economic Load Dispatch using PSO Algorithm Based on Adaptive Learning Strategy Considering Valve point Effect

Abstract: In recent years due to problems such as population growth and as a result increase in demand for electrical energy, power systems have been faced with new challenges that not existed in the past. One of the most important issues in modern power systems is economic load dispatch, which is a complex optimization problem with a large number of variables and constraints. Due to the comple...

متن کامل

An Algorithm for Two Dimensional Cutting Stock Problems with Demand

In this paper, two-dimensional cutting stock problem with demand has been studied.In this problem, cutting of large rectangular sheets into specific small pieces should be carried out hence, the waste will be minimized. Solving this problem is important to decrease waste materials in any industry that requires cutting of sheets. In most previus studies, the demand of pieces has not been usually...

متن کامل

Bidding Strategy on Demand Side Using Eligibility Traces Algorithm

Restructuring in the power industry is followed by splitting different parts and creating a competition between purchasing and selling sections. As a consequence, through an active participation in the energy market, the service provider companies and large consumers create a context for overcoming the problems resulted from lack of demand side participation in the market. The most prominent ch...

متن کامل

ذخیره در منابع من


  با ذخیره ی این منبع در منابع من، دسترسی به آن را برای استفاده های بعدی آسان تر کنید

برای دانلود متن کامل این مقاله و بیش از 32 میلیون مقاله دیگر ابتدا ثبت نام کنید

ثبت نام

اگر عضو سایت هستید لطفا وارد حساب کاربری خود شوید

عنوان ژورنال:

دوره   شماره 

صفحات  -

تاریخ انتشار 2017